home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
coding
/
dsp
/
c30fft.exe
/
APPENDIX.A5
< prev
next >
Wrap
Text File
|
1989-08-18
|
2KB
|
71 lines
;**************************************************************
;
; appendix.a5
;
; Raimund Meyer & Karl Schwarz
;
; 08-18-89
;
; (C) Texas Instruments Inc., 1992
;
; Refer to the file 'license.txt' included with this
; this package for usage and license information.
;
;**************************************************************
***************************************************************************
* *
* TWID1KBR.ASM *
* TABLE WITH TWIDDLE FACTORS FOR A FFT *
* UP TO A LENGTH OF 1024 COMPLEX POINTS. *
* FILE TO BE LINKED WITH THE SOURCE CODE : R2DIT.ASM OR R2DITB.ASM *
* *
* WRITTEN BY : RAIMUND MEYER , KARL SCHWARZ 14.07.89 *
* LEHRSTUHL FUER NACHRICHTENTECHNIK *
* UNIVERSITAET ERLANGEN-NUERNBERG *
* *
* LENGTH OF TWIDDLE FACTOR TABLE : 512 REAL VALUES (=1024 FFT) *
* *
***************************************************************************
.global sine
.global n
.global nhalb
.global nviert
.global nachtel
.global m
n .set 1024 ; FFT-LENGTH n
nhalb .set 512 ; n/2
nviert .set 256 ; n/4
nachtel .set 128 ; n/8
m .set 10 ; NUMBER OF STAGES = ld(n)
* another example FFT-LENGTH n=32:
* only the first 16 values of the table are needed
*n .set 32
*nhalb .set 16
*nviert .set 8
*nachtel .set 4
*m .set 5
.data
sine
.float 1.00000000000000e+000
.float 0.00000000000000e+000
.float 7.07106781186548e-001
.float 7.07106781186548e-001
.float 9.23879532511287e-001
.float 3.82683432365090e-001
.float 3.82683432365090e-001
.float 9.23879532511287e-001
.float 9.80785280403230e-001
:
:
:
.float 7.11432195745216e-001
.float 7.02754744457225e-001
.float 6.13588464915452e-003
.float 9.99981175282601e-001